package com.qqtop10.manager.service;

import java.util.List;
import java.util.Map;

import com.qqtop10.manager.model.PagingArgs;
import com.qqtop10.manager.model.temp.BuildIndexGoodsTemp;
import com.qqtop10.manager.model.temp.Goods;
import com.qqtop10.manager.utils.PageInterface;

public interface GoodsService extends PageInterface {

	boolean recommend(Goods input);

	List<Goods> selectByCategoryUuid(String categoryUuid);

	List<Goods> selectByShopUuid(String shopUuid);

	int removeRecommendByUuid(List<String> uuids);

	Goods selectByName(String name);

	List<Goods> getAllGoods(PagingArgs pagingArgs);

	Goods selectGoodsByUUID(String uuid);

	// 设置该商品是否为团购推荐商品
	int updateGoodsIsBoutique(Map<String, Object> map);

	int allGoodsCount();

	// 获取当前国家的商品
	List<Goods> selectGlobalShoppingGoodsByCountryId(int id);

	List<BuildIndexGoodsTemp> selectBuildIndexPageGoods();

	List<String> getAllGoodsUuid();

	// 设置该商品是否为全球购推荐商品
	int qqgBoutiqueByGoodsUuid(Map<String, Object> map);
	
	List<com.qqtop10.manager.model.temp.Goods> getAllQQGGoods(PagingArgs pagingArgs);

	Integer allQQGGoodsCount();
	
}